package com.ourteam.workspace.dao;

import java.util.Arrays;
import java.util.List;
import java.util.Map;
import net.dao.BaseQueryBean;
import net.dao.BaseWhereCriterion;
import net.dao.IDataAccessInterface;
import org.apache.commons.lang.StringUtils;

/**
 * Template Name : DAO查询对象 Template Version : 1 Template Last Modfiy Date : Sat Aug 19 10:06:32 CST
 * 2017 Auto Generate Date : 2018-11-30 18:42:31 Warning ! This file will be overwrite when
 * regenerate !
 */
public class WorkspaceFileTypeConfigDAOQueryBean extends BaseQueryBean {

  public WorkspaceFileTypeConfigDAOQueryBean() {
    super();
  }

  public WorkspaceFileTypeConfigDAOQueryBean(BaseQueryBean aQueryBean) {
    super(aQueryBean);
  }

  public WorkspaceFileTypeConfigDAOQueryBean(BaseQueryBean aQueryBean, Map tableReplaceMap) {
    super(aQueryBean, tableReplaceMap);
  }

  public Criteria createCriteria() {

    Criteria criteria = createCriteriaInternal();
    if (oredCriteria.size() == 0) {
      oredCriteria.add(criteria);
    }
    return criteria;
  }

  protected Criteria createCriteriaInternal() {
    return new Criteria(this);
  }

  public void addIdSelectProperty() {
    addIdSelectProperty("id");
  }

  public void addIdSelectProperty(String aAlias) {
    if (StringUtils.isNotBlank(aAlias)) {
      addSelectProperty(IWorkspaceFileTypeConfigDAO.Id, aAlias);
    } else {
      addSelectProperty(IWorkspaceFileTypeConfigDAO.Id, "id");
    }
  }

  public void addFileTypeNameSelectProperty() {
    addFileTypeNameSelectProperty("fileTypeName");
  }

  public void addFileTypeNameSelectProperty(String aAlias) {
    if (StringUtils.isNotBlank(aAlias)) {
      addSelectProperty(IWorkspaceFileTypeConfigDAO.FileTypeName, aAlias);
    } else {
      addSelectProperty(IWorkspaceFileTypeConfigDAO.FileTypeName, "fileTypeName");
    }
  }

  public void addFileExtensionSelectProperty() {
    addFileExtensionSelectProperty("fileExtension");
  }

  public void addFileExtensionSelectProperty(String aAlias) {
    if (StringUtils.isNotBlank(aAlias)) {
      addSelectProperty(IWorkspaceFileTypeConfigDAO.FileExtension, aAlias);
    } else {
      addSelectProperty(IWorkspaceFileTypeConfigDAO.FileExtension, "fileExtension");
    }
  }

  public void addFileEditorModeSelectProperty() {
    addFileEditorModeSelectProperty("fileEditorMode");
  }

  public void addFileEditorModeSelectProperty(String aAlias) {
    if (StringUtils.isNotBlank(aAlias)) {
      addSelectProperty(IWorkspaceFileTypeConfigDAO.FileEditorMode, aAlias);
    } else {
      addSelectProperty(IWorkspaceFileTypeConfigDAO.FileEditorMode, "fileEditorMode");
    }
  }

  public void addFileTypeIconSelectProperty() {
    addFileTypeIconSelectProperty("fileTypeIcon");
  }

  public void addFileTypeIconSelectProperty(String aAlias) {
    if (StringUtils.isNotBlank(aAlias)) {
      addSelectProperty(IWorkspaceFileTypeConfigDAO.FileTypeIcon, aAlias);
    } else {
      addSelectProperty(IWorkspaceFileTypeConfigDAO.FileTypeIcon, "fileTypeIcon");
    }
  }

  public void addIsCountLineSelectProperty() {
    addIsCountLineSelectProperty("isCountLine");
  }

  public void addIsCountLineSelectProperty(String aAlias) {
    if (StringUtils.isNotBlank(aAlias)) {
      addSelectProperty(IWorkspaceFileTypeConfigDAO.IsCountLine, aAlias);
    } else {
      addSelectProperty(IWorkspaceFileTypeConfigDAO.IsCountLine, "isCountLine");
    }
  }

  public void addIsCanDiffSelectProperty() {
    addIsCanDiffSelectProperty("isCanDiff");
  }

  public void addIsCanDiffSelectProperty(String aAlias) {
    if (StringUtils.isNotBlank(aAlias)) {
      addSelectProperty(IWorkspaceFileTypeConfigDAO.IsCanDiff, aAlias);
    } else {
      addSelectProperty(IWorkspaceFileTypeConfigDAO.IsCanDiff, "isCanDiff");
    }
  }

  public void addStatusSelectProperty() {
    addStatusSelectProperty("status");
  }

  public void addStatusSelectProperty(String aAlias) {
    if (StringUtils.isNotBlank(aAlias)) {
      addSelectProperty(IWorkspaceFileTypeConfigDAO.Status, aAlias);
    } else {
      addSelectProperty(IWorkspaceFileTypeConfigDAO.Status, "status");
    }
  }

  public void addRemarksSelectProperty() {
    addRemarksSelectProperty("remarks");
  }

  public void addRemarksSelectProperty(String aAlias) {
    if (StringUtils.isNotBlank(aAlias)) {
      addSelectProperty(IWorkspaceFileTypeConfigDAO.Remarks, aAlias);
    } else {
      addSelectProperty(IWorkspaceFileTypeConfigDAO.Remarks, "remarks");
    }
  }

  public void addAllSelectProperties() {

    addIdSelectProperty();

    addFileTypeNameSelectProperty();

    addFileExtensionSelectProperty();

    addFileEditorModeSelectProperty();

    addFileTypeIconSelectProperty();

    addIsCountLineSelectProperty();

    addIsCanDiffSelectProperty();

    addStatusSelectProperty();

    addRemarksSelectProperty();
  }

  public static class Criteria extends BaseWhereCriterion<WorkspaceFileTypeConfigDAOQueryBean> {

    protected Criteria(WorkspaceFileTypeConfigDAOQueryBean aParentObject) {
      super(aParentObject);
    }

    public Criteria andIdIsNull() {
      addCriterion(IWorkspaceFileTypeConfigDAO.Id + " is null");
      return this;
    }

    public Criteria andIdIsNotNull() {
      addCriterion(IWorkspaceFileTypeConfigDAO.Id + " is not null");
      return this;
    }

    public Criteria andIdIsNotEmpty() {
      addCriterion(
          IWorkspaceFileTypeConfigDAO.Id
              + " is not null AND "
              + IWorkspaceFileTypeConfigDAO.Id
              + " <> ''");
      return this;
    }

    public Criteria andIdIsEmpty() {
      addCriterion(
          "("
              + IWorkspaceFileTypeConfigDAO.Id
              + " is null OR "
              + IWorkspaceFileTypeConfigDAO.Id
              + " = '')");
      return this;
    }

    public Criteria andIdEqualTo(long value) {
      return andIdEqualTo(Long.valueOf(value));
    }

    public Criteria andIdEqualTo(java.lang.Long value) {

      addCriterion(IWorkspaceFileTypeConfigDAO.Id + " = ", value, "id");
      return this;
    }

    public Criteria andIdEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IWorkspaceFileTypeConfigDAO.Id);
      str.append(" = ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andIdEqualTo(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceFileTypeConfigDAO.Id + " = ", subQueryBean, dao);
      return this;
    }

    public Criteria andIdNotEqualTo(long value) {
      return andIdNotEqualTo(Long.valueOf(value));
    }

    public Criteria andIdNotEqualTo(java.lang.Long value) {

      addCriterion(IWorkspaceFileTypeConfigDAO.Id + " <>", value, "id");
      return this;
    }

    public Criteria andIdNotEqualToOrIsNull(long value) {
      return andIdNotEqualToOrIsNull(Long.valueOf(value));
    }

    public Criteria andIdNotEqualToOrIsNull(java.lang.Long value) {

      addCriterion(
          IWorkspaceFileTypeConfigDAO.Id + " is null OR " + IWorkspaceFileTypeConfigDAO.Id + " <>",
          value,
          "id");
      return this;
    }

    public Criteria andIdNotEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IWorkspaceFileTypeConfigDAO.Id);
      str.append(" <> ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andIdNotEqualTo(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceFileTypeConfigDAO.Id + " <> ", subQueryBean, dao);
      return this;
    }

    public Criteria andIdGreaterThan(long value) {
      return andIdGreaterThan(Long.valueOf(value));
    }

    public Criteria andIdGreaterThan(java.lang.Long value) {

      addCriterion(IWorkspaceFileTypeConfigDAO.Id + " >", value, "id");
      return this;
    }

    public Criteria andIdGreaterThanForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IWorkspaceFileTypeConfigDAO.Id);
      str.append(" > ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andIdGreaterThan(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceFileTypeConfigDAO.Id + " > ", subQueryBean, dao);
      return this;
    }

    public Criteria andIdGreaterThanOrEqualTo(long value) {
      return andIdGreaterThanOrEqualTo(Long.valueOf(value));
    }

    public Criteria andIdGreaterThanOrEqualTo(java.lang.Long value) {

      addCriterion(IWorkspaceFileTypeConfigDAO.Id + " >=", value, "id");
      return this;
    }

    public Criteria andIdGreaterThanOrEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IWorkspaceFileTypeConfigDAO.Id);
      str.append(" >= ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andIdGreaterThanOrEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceFileTypeConfigDAO.Id + " >= ", subQueryBean, dao);
      return this;
    }

    public Criteria andIdLessThan(long value) {
      return andIdLessThan(Long.valueOf(value));
    }

    public Criteria andIdLessThan(java.lang.Long value) {

      addCriterion(IWorkspaceFileTypeConfigDAO.Id + " <", value, "id");
      return this;
    }

    public Criteria andIdLessThanForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IWorkspaceFileTypeConfigDAO.Id);
      str.append(" < ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andIdLessThan(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceFileTypeConfigDAO.Id + " < ", subQueryBean, dao);
      return this;
    }

    public Criteria andIdLessThanOrEqualTo(long value) {
      return andIdLessThanOrEqualTo(Long.valueOf(value));
    }

    public Criteria andIdLessThanOrEqualTo(java.lang.Long value) {

      addCriterion(IWorkspaceFileTypeConfigDAO.Id + " <=", value, "id");
      return this;
    }

    public Criteria andIdLessThanOrEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IWorkspaceFileTypeConfigDAO.Id);
      str.append(" <= ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andIdLessThanOrEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceFileTypeConfigDAO.Id + " <= ", subQueryBean, dao);
      return this;
    }

    public Criteria andIdIn(long[] values) {
      if (values.length == 1) {
        return andIdEqualTo((java.lang.Long) values[0]);
      } else {
        addCriterion(IWorkspaceFileTypeConfigDAO.Id + " in", values, "id");
        return this;
      }
    }

    public Criteria andIdNotIn(long[] values) {
      if (values.length == 1) {
        return andIdNotEqualTo((java.lang.Long) values[0]);
      } else {
        addCriterion(IWorkspaceFileTypeConfigDAO.Id + " not in", values, "id");
        return this;
      }
    }

    public Criteria andIdIn(List<java.lang.Long> values) {

      if (values.size() == 1) {
        return andIdEqualTo(values.get(0));
      } else {
        addCriterion(IWorkspaceFileTypeConfigDAO.Id + " in", values, "id");
        return this;
      }
    }

    public Criteria andIdNotIn(List<java.lang.Long> values) {
      if (values.size() == 1) {
        return andIdNotEqualTo(values.get(0));
      } else {
        addCriterion(IWorkspaceFileTypeConfigDAO.Id + " not in", values, "id");
        return this;
      }
    }

    public Criteria andIdIn(java.lang.Long[] values) {

      if (values.length == 1) {
        return andIdEqualTo(values[0]);
      } else {
        addCriterion(IWorkspaceFileTypeConfigDAO.Id + " in", Arrays.asList(values), "id");
        return this;
      }
    }

    public Criteria andIdNotIn(java.lang.Long[] values) {
      if (values.length == 1) {
        return andIdNotEqualTo(values[0]);
      } else {
        addCriterion(IWorkspaceFileTypeConfigDAO.Id + " not in", Arrays.asList(values), "id");
        return this;
      }
    }

    public Criteria andIdIn(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceFileTypeConfigDAO.Id + " in ", subQueryBean, dao);
      return this;
    }

    public Criteria andIdNotIn(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceFileTypeConfigDAO.Id + " not in ", subQueryBean, dao);
      return this;
    }

    public Criteria andIdBetween(long value1, long value2) {
      addCriterion(IWorkspaceFileTypeConfigDAO.Id + " between", value1, value2, "id");
      return this;
    }

    public Criteria andIdBetween(java.lang.Long value1, java.lang.Long value2) {
      addCriterion(IWorkspaceFileTypeConfigDAO.Id + " between", value1, value2, "id");
      return this;
    }

    public Criteria andIdNotBetween(long value1, long value2) {
      addCriterion(IWorkspaceFileTypeConfigDAO.Id + " not between", value1, value2, "id");
      return this;
    }

    public Criteria andIdNotBetween(java.lang.Long value1, java.lang.Long value2) {
      addCriterion(IWorkspaceFileTypeConfigDAO.Id + " not between", value1, value2, "id");
      return this;
    }

    public Criteria andFileTypeNameIsNull() {
      addCriterion(IWorkspaceFileTypeConfigDAO.FileTypeName + " is null");
      return this;
    }

    public Criteria andFileTypeNameIsNotNull() {
      addCriterion(IWorkspaceFileTypeConfigDAO.FileTypeName + " is not null");
      return this;
    }

    public Criteria andFileTypeNameIsNotEmpty() {
      addCriterion(
          IWorkspaceFileTypeConfigDAO.FileTypeName
              + " is not null AND "
              + IWorkspaceFileTypeConfigDAO.FileTypeName
              + " <> ''");
      return this;
    }

    public Criteria andFileTypeNameIsEmpty() {
      addCriterion(
          "("
              + IWorkspaceFileTypeConfigDAO.FileTypeName
              + " is null OR "
              + IWorkspaceFileTypeConfigDAO.FileTypeName
              + " = '')");
      return this;
    }

    public Criteria andFileTypeNameEqualTo(String value) {

      addCriterion(IWorkspaceFileTypeConfigDAO.FileTypeName + " = ", value, "fileTypeName");
      return this;
    }

    public Criteria andFileTypeNameEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IWorkspaceFileTypeConfigDAO.FileTypeName);
      str.append(" = ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andFileTypeNameEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceFileTypeConfigDAO.FileTypeName + " = ", subQueryBean, dao);
      return this;
    }

    public Criteria andFileTypeNameNotEqualTo(String value) {

      addCriterion(IWorkspaceFileTypeConfigDAO.FileTypeName + " <>", value, "fileTypeName");
      return this;
    }

    public Criteria andFileTypeNameNotEqualToOrIsNull(String value) {

      addCriterion(
          IWorkspaceFileTypeConfigDAO.FileTypeName
              + " is null OR "
              + IWorkspaceFileTypeConfigDAO.FileTypeName
              + " <>",
          value,
          "fileTypeName");
      return this;
    }

    public Criteria andFileTypeNameNotEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IWorkspaceFileTypeConfigDAO.FileTypeName);
      str.append(" <> ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andFileTypeNameNotEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceFileTypeConfigDAO.FileTypeName + " <> ", subQueryBean, dao);
      return this;
    }

    public Criteria andFileTypeNameGreaterThan(String value) {

      addCriterion(IWorkspaceFileTypeConfigDAO.FileTypeName + " >", value, "fileTypeName");
      return this;
    }

    public Criteria andFileTypeNameGreaterThanForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IWorkspaceFileTypeConfigDAO.FileTypeName);
      str.append(" > ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andFileTypeNameGreaterThan(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceFileTypeConfigDAO.FileTypeName + " > ", subQueryBean, dao);
      return this;
    }

    public Criteria andFileTypeNameGreaterThanOrEqualTo(String value) {

      addCriterion(IWorkspaceFileTypeConfigDAO.FileTypeName + " >=", value, "fileTypeName");
      return this;
    }

    public Criteria andFileTypeNameGreaterThanOrEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IWorkspaceFileTypeConfigDAO.FileTypeName);
      str.append(" >= ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andFileTypeNameGreaterThanOrEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceFileTypeConfigDAO.FileTypeName + " >= ", subQueryBean, dao);
      return this;
    }

    public Criteria andFileTypeNameLessThan(String value) {

      addCriterion(IWorkspaceFileTypeConfigDAO.FileTypeName + " <", value, "fileTypeName");
      return this;
    }

    public Criteria andFileTypeNameLessThanForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IWorkspaceFileTypeConfigDAO.FileTypeName);
      str.append(" < ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andFileTypeNameLessThan(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceFileTypeConfigDAO.FileTypeName + " < ", subQueryBean, dao);
      return this;
    }

    public Criteria andFileTypeNameLessThanOrEqualTo(String value) {

      addCriterion(IWorkspaceFileTypeConfigDAO.FileTypeName + " <=", value, "fileTypeName");
      return this;
    }

    public Criteria andFileTypeNameLessThanOrEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IWorkspaceFileTypeConfigDAO.FileTypeName);
      str.append(" <= ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andFileTypeNameLessThanOrEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceFileTypeConfigDAO.FileTypeName + " <= ", subQueryBean, dao);
      return this;
    }

    public Criteria andFileTypeNameLike(String value) {
      StringBuffer buffer = new StringBuffer("%");
      buffer.append(value);
      buffer.append("%");
      addCriterion(
          IWorkspaceFileTypeConfigDAO.FileTypeName + " like", buffer.toString(), "fileTypeName");
      return this;
    }

    public Criteria andFileTypeNameNotLike(String value) {
      StringBuffer buffer = new StringBuffer("%");
      buffer.append(value);
      buffer.append("%");
      addCriterion(
          IWorkspaceFileTypeConfigDAO.FileTypeName + " not like",
          buffer.toString(),
          "fileTypeName");
      return this;
    }

    public Criteria andFileTypeNameIn(List<String> values) {

      if (values.size() == 1) {
        return andFileTypeNameEqualTo(values.get(0));
      } else {
        addCriterion(IWorkspaceFileTypeConfigDAO.FileTypeName + " in", values, "fileTypeName");
        return this;
      }
    }

    public Criteria andFileTypeNameNotIn(List<String> values) {
      if (values.size() == 1) {
        return andFileTypeNameNotEqualTo(values.get(0));
      } else {
        addCriterion(IWorkspaceFileTypeConfigDAO.FileTypeName + " not in", values, "fileTypeName");
        return this;
      }
    }

    public Criteria andFileTypeNameIn(String[] values) {

      if (values.length == 1) {
        return andFileTypeNameEqualTo(values[0]);
      } else {
        addCriterion(
            IWorkspaceFileTypeConfigDAO.FileTypeName + " in",
            Arrays.asList(values),
            "fileTypeName");
        return this;
      }
    }

    public Criteria andFileTypeNameNotIn(String[] values) {
      if (values.length == 1) {
        return andFileTypeNameNotEqualTo(values[0]);
      } else {
        addCriterion(
            IWorkspaceFileTypeConfigDAO.FileTypeName + " not in",
            Arrays.asList(values),
            "fileTypeName");
        return this;
      }
    }

    public Criteria andFileTypeNameIn(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceFileTypeConfigDAO.FileTypeName + " in ", subQueryBean, dao);
      return this;
    }

    public Criteria andFileTypeNameNotIn(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceFileTypeConfigDAO.FileTypeName + " not in ", subQueryBean, dao);
      return this;
    }

    public Criteria andFileTypeNameBetween(String value1, String value2) {
      addCriterion(
          IWorkspaceFileTypeConfigDAO.FileTypeName + " between", value1, value2, "fileTypeName");
      return this;
    }

    public Criteria andFileTypeNameNotBetween(String value1, String value2) {
      addCriterion(
          IWorkspaceFileTypeConfigDAO.FileTypeName + " not between",
          value1,
          value2,
          "fileTypeName");
      return this;
    }

    public Criteria andFileExtensionIsNull() {
      addCriterion(IWorkspaceFileTypeConfigDAO.FileExtension + " is null");
      return this;
    }

    public Criteria andFileExtensionIsNotNull() {
      addCriterion(IWorkspaceFileTypeConfigDAO.FileExtension + " is not null");
      return this;
    }

    public Criteria andFileExtensionIsNotEmpty() {
      addCriterion(
          IWorkspaceFileTypeConfigDAO.FileExtension
              + " is not null AND "
              + IWorkspaceFileTypeConfigDAO.FileExtension
              + " <> ''");
      return this;
    }

    public Criteria andFileExtensionIsEmpty() {
      addCriterion(
          "("
              + IWorkspaceFileTypeConfigDAO.FileExtension
              + " is null OR "
              + IWorkspaceFileTypeConfigDAO.FileExtension
              + " = '')");
      return this;
    }

    public Criteria andFileExtensionEqualTo(String value) {

      addCriterion(IWorkspaceFileTypeConfigDAO.FileExtension + " = ", value, "fileExtension");
      return this;
    }

    public Criteria andFileExtensionEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IWorkspaceFileTypeConfigDAO.FileExtension);
      str.append(" = ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andFileExtensionEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceFileTypeConfigDAO.FileExtension + " = ", subQueryBean, dao);
      return this;
    }

    public Criteria andFileExtensionNotEqualTo(String value) {

      addCriterion(IWorkspaceFileTypeConfigDAO.FileExtension + " <>", value, "fileExtension");
      return this;
    }

    public Criteria andFileExtensionNotEqualToOrIsNull(String value) {

      addCriterion(
          IWorkspaceFileTypeConfigDAO.FileExtension
              + " is null OR "
              + IWorkspaceFileTypeConfigDAO.FileExtension
              + " <>",
          value,
          "fileExtension");
      return this;
    }

    public Criteria andFileExtensionNotEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IWorkspaceFileTypeConfigDAO.FileExtension);
      str.append(" <> ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andFileExtensionNotEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceFileTypeConfigDAO.FileExtension + " <> ", subQueryBean, dao);
      return this;
    }

    public Criteria andFileExtensionGreaterThan(String value) {

      addCriterion(IWorkspaceFileTypeConfigDAO.FileExtension + " >", value, "fileExtension");
      return this;
    }

    public Criteria andFileExtensionGreaterThanForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IWorkspaceFileTypeConfigDAO.FileExtension);
      str.append(" > ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andFileExtensionGreaterThan(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceFileTypeConfigDAO.FileExtension + " > ", subQueryBean, dao);
      return this;
    }

    public Criteria andFileExtensionGreaterThanOrEqualTo(String value) {

      addCriterion(IWorkspaceFileTypeConfigDAO.FileExtension + " >=", value, "fileExtension");
      return this;
    }

    public Criteria andFileExtensionGreaterThanOrEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IWorkspaceFileTypeConfigDAO.FileExtension);
      str.append(" >= ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andFileExtensionGreaterThanOrEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceFileTypeConfigDAO.FileExtension + " >= ", subQueryBean, dao);
      return this;
    }

    public Criteria andFileExtensionLessThan(String value) {

      addCriterion(IWorkspaceFileTypeConfigDAO.FileExtension + " <", value, "fileExtension");
      return this;
    }

    public Criteria andFileExtensionLessThanForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IWorkspaceFileTypeConfigDAO.FileExtension);
      str.append(" < ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andFileExtensionLessThan(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceFileTypeConfigDAO.FileExtension + " < ", subQueryBean, dao);
      return this;
    }

    public Criteria andFileExtensionLessThanOrEqualTo(String value) {

      addCriterion(IWorkspaceFileTypeConfigDAO.FileExtension + " <=", value, "fileExtension");
      return this;
    }

    public Criteria andFileExtensionLessThanOrEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IWorkspaceFileTypeConfigDAO.FileExtension);
      str.append(" <= ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andFileExtensionLessThanOrEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceFileTypeConfigDAO.FileExtension + " <= ", subQueryBean, dao);
      return this;
    }

    public Criteria andFileExtensionLike(String value) {
      StringBuffer buffer = new StringBuffer("%");
      buffer.append(value);
      buffer.append("%");
      addCriterion(
          IWorkspaceFileTypeConfigDAO.FileExtension + " like", buffer.toString(), "fileExtension");
      return this;
    }

    public Criteria andFileExtensionNotLike(String value) {
      StringBuffer buffer = new StringBuffer("%");
      buffer.append(value);
      buffer.append("%");
      addCriterion(
          IWorkspaceFileTypeConfigDAO.FileExtension + " not like",
          buffer.toString(),
          "fileExtension");
      return this;
    }

    public Criteria andFileExtensionIn(List<String> values) {

      if (values.size() == 1) {
        return andFileExtensionEqualTo(values.get(0));
      } else {
        addCriterion(IWorkspaceFileTypeConfigDAO.FileExtension + " in", values, "fileExtension");
        return this;
      }
    }

    public Criteria andFileExtensionNotIn(List<String> values) {
      if (values.size() == 1) {
        return andFileExtensionNotEqualTo(values.get(0));
      } else {
        addCriterion(
            IWorkspaceFileTypeConfigDAO.FileExtension + " not in", values, "fileExtension");
        return this;
      }
    }

    public Criteria andFileExtensionIn(String[] values) {

      if (values.length == 1) {
        return andFileExtensionEqualTo(values[0]);
      } else {
        addCriterion(
            IWorkspaceFileTypeConfigDAO.FileExtension + " in",
            Arrays.asList(values),
            "fileExtension");
        return this;
      }
    }

    public Criteria andFileExtensionNotIn(String[] values) {
      if (values.length == 1) {
        return andFileExtensionNotEqualTo(values[0]);
      } else {
        addCriterion(
            IWorkspaceFileTypeConfigDAO.FileExtension + " not in",
            Arrays.asList(values),
            "fileExtension");
        return this;
      }
    }

    public Criteria andFileExtensionIn(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceFileTypeConfigDAO.FileExtension + " in ", subQueryBean, dao);
      return this;
    }

    public Criteria andFileExtensionNotIn(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceFileTypeConfigDAO.FileExtension + " not in ", subQueryBean, dao);
      return this;
    }

    public Criteria andFileExtensionBetween(String value1, String value2) {
      addCriterion(
          IWorkspaceFileTypeConfigDAO.FileExtension + " between", value1, value2, "fileExtension");
      return this;
    }

    public Criteria andFileExtensionNotBetween(String value1, String value2) {
      addCriterion(
          IWorkspaceFileTypeConfigDAO.FileExtension + " not between",
          value1,
          value2,
          "fileExtension");
      return this;
    }

    public Criteria andFileEditorModeIsNull() {
      addCriterion(IWorkspaceFileTypeConfigDAO.FileEditorMode + " is null");
      return this;
    }

    public Criteria andFileEditorModeIsNotNull() {
      addCriterion(IWorkspaceFileTypeConfigDAO.FileEditorMode + " is not null");
      return this;
    }

    public Criteria andFileEditorModeIsNotEmpty() {
      addCriterion(
          IWorkspaceFileTypeConfigDAO.FileEditorMode
              + " is not null AND "
              + IWorkspaceFileTypeConfigDAO.FileEditorMode
              + " <> ''");
      return this;
    }

    public Criteria andFileEditorModeIsEmpty() {
      addCriterion(
          "("
              + IWorkspaceFileTypeConfigDAO.FileEditorMode
              + " is null OR "
              + IWorkspaceFileTypeConfigDAO.FileEditorMode
              + " = '')");
      return this;
    }

    public Criteria andFileEditorModeEqualTo(String value) {

      addCriterion(IWorkspaceFileTypeConfigDAO.FileEditorMode + " = ", value, "fileEditorMode");
      return this;
    }

    public Criteria andFileEditorModeEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IWorkspaceFileTypeConfigDAO.FileEditorMode);
      str.append(" = ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andFileEditorModeEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceFileTypeConfigDAO.FileEditorMode + " = ", subQueryBean, dao);
      return this;
    }

    public Criteria andFileEditorModeNotEqualTo(String value) {

      addCriterion(IWorkspaceFileTypeConfigDAO.FileEditorMode + " <>", value, "fileEditorMode");
      return this;
    }

    public Criteria andFileEditorModeNotEqualToOrIsNull(String value) {

      addCriterion(
          IWorkspaceFileTypeConfigDAO.FileEditorMode
              + " is null OR "
              + IWorkspaceFileTypeConfigDAO.FileEditorMode
              + " <>",
          value,
          "fileEditorMode");
      return this;
    }

    public Criteria andFileEditorModeNotEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IWorkspaceFileTypeConfigDAO.FileEditorMode);
      str.append(" <> ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andFileEditorModeNotEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceFileTypeConfigDAO.FileEditorMode + " <> ", subQueryBean, dao);
      return this;
    }

    public Criteria andFileEditorModeGreaterThan(String value) {

      addCriterion(IWorkspaceFileTypeConfigDAO.FileEditorMode + " >", value, "fileEditorMode");
      return this;
    }

    public Criteria andFileEditorModeGreaterThanForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IWorkspaceFileTypeConfigDAO.FileEditorMode);
      str.append(" > ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andFileEditorModeGreaterThan(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceFileTypeConfigDAO.FileEditorMode + " > ", subQueryBean, dao);
      return this;
    }

    public Criteria andFileEditorModeGreaterThanOrEqualTo(String value) {

      addCriterion(IWorkspaceFileTypeConfigDAO.FileEditorMode + " >=", value, "fileEditorMode");
      return this;
    }

    public Criteria andFileEditorModeGreaterThanOrEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IWorkspaceFileTypeConfigDAO.FileEditorMode);
      str.append(" >= ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andFileEditorModeGreaterThanOrEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceFileTypeConfigDAO.FileEditorMode + " >= ", subQueryBean, dao);
      return this;
    }

    public Criteria andFileEditorModeLessThan(String value) {

      addCriterion(IWorkspaceFileTypeConfigDAO.FileEditorMode + " <", value, "fileEditorMode");
      return this;
    }

    public Criteria andFileEditorModeLessThanForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IWorkspaceFileTypeConfigDAO.FileEditorMode);
      str.append(" < ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andFileEditorModeLessThan(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceFileTypeConfigDAO.FileEditorMode + " < ", subQueryBean, dao);
      return this;
    }

    public Criteria andFileEditorModeLessThanOrEqualTo(String value) {

      addCriterion(IWorkspaceFileTypeConfigDAO.FileEditorMode + " <=", value, "fileEditorMode");
      return this;
    }

    public Criteria andFileEditorModeLessThanOrEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IWorkspaceFileTypeConfigDAO.FileEditorMode);
      str.append(" <= ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andFileEditorModeLessThanOrEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceFileTypeConfigDAO.FileEditorMode + " <= ", subQueryBean, dao);
      return this;
    }

    public Criteria andFileEditorModeLike(String value) {
      StringBuffer buffer = new StringBuffer("%");
      buffer.append(value);
      buffer.append("%");
      addCriterion(
          IWorkspaceFileTypeConfigDAO.FileEditorMode + " like",
          buffer.toString(),
          "fileEditorMode");
      return this;
    }

    public Criteria andFileEditorModeNotLike(String value) {
      StringBuffer buffer = new StringBuffer("%");
      buffer.append(value);
      buffer.append("%");
      addCriterion(
          IWorkspaceFileTypeConfigDAO.FileEditorMode + " not like",
          buffer.toString(),
          "fileEditorMode");
      return this;
    }

    public Criteria andFileEditorModeIn(List<String> values) {

      if (values.size() == 1) {
        return andFileEditorModeEqualTo(values.get(0));
      } else {
        addCriterion(IWorkspaceFileTypeConfigDAO.FileEditorMode + " in", values, "fileEditorMode");
        return this;
      }
    }

    public Criteria andFileEditorModeNotIn(List<String> values) {
      if (values.size() == 1) {
        return andFileEditorModeNotEqualTo(values.get(0));
      } else {
        addCriterion(
            IWorkspaceFileTypeConfigDAO.FileEditorMode + " not in", values, "fileEditorMode");
        return this;
      }
    }

    public Criteria andFileEditorModeIn(String[] values) {

      if (values.length == 1) {
        return andFileEditorModeEqualTo(values[0]);
      } else {
        addCriterion(
            IWorkspaceFileTypeConfigDAO.FileEditorMode + " in",
            Arrays.asList(values),
            "fileEditorMode");
        return this;
      }
    }

    public Criteria andFileEditorModeNotIn(String[] values) {
      if (values.length == 1) {
        return andFileEditorModeNotEqualTo(values[0]);
      } else {
        addCriterion(
            IWorkspaceFileTypeConfigDAO.FileEditorMode + " not in",
            Arrays.asList(values),
            "fileEditorMode");
        return this;
      }
    }

    public Criteria andFileEditorModeIn(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceFileTypeConfigDAO.FileEditorMode + " in ", subQueryBean, dao);
      return this;
    }

    public Criteria andFileEditorModeNotIn(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceFileTypeConfigDAO.FileEditorMode + " not in ", subQueryBean, dao);
      return this;
    }

    public Criteria andFileEditorModeBetween(String value1, String value2) {
      addCriterion(
          IWorkspaceFileTypeConfigDAO.FileEditorMode + " between",
          value1,
          value2,
          "fileEditorMode");
      return this;
    }

    public Criteria andFileEditorModeNotBetween(String value1, String value2) {
      addCriterion(
          IWorkspaceFileTypeConfigDAO.FileEditorMode + " not between",
          value1,
          value2,
          "fileEditorMode");
      return this;
    }

    public Criteria andFileTypeIconIsNull() {
      addCriterion(IWorkspaceFileTypeConfigDAO.FileTypeIcon + " is null");
      return this;
    }

    public Criteria andFileTypeIconIsNotNull() {
      addCriterion(IWorkspaceFileTypeConfigDAO.FileTypeIcon + " is not null");
      return this;
    }

    public Criteria andFileTypeIconIsNotEmpty() {
      addCriterion(
          IWorkspaceFileTypeConfigDAO.FileTypeIcon
              + " is not null AND "
              + IWorkspaceFileTypeConfigDAO.FileTypeIcon
              + " <> ''");
      return this;
    }

    public Criteria andFileTypeIconIsEmpty() {
      addCriterion(
          "("
              + IWorkspaceFileTypeConfigDAO.FileTypeIcon
              + " is null OR "
              + IWorkspaceFileTypeConfigDAO.FileTypeIcon
              + " = '')");
      return this;
    }

    public Criteria andFileTypeIconEqualTo(String value) {

      addCriterion(IWorkspaceFileTypeConfigDAO.FileTypeIcon + " = ", value, "fileTypeIcon");
      return this;
    }

    public Criteria andFileTypeIconEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IWorkspaceFileTypeConfigDAO.FileTypeIcon);
      str.append(" = ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andFileTypeIconEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceFileTypeConfigDAO.FileTypeIcon + " = ", subQueryBean, dao);
      return this;
    }

    public Criteria andFileTypeIconNotEqualTo(String value) {

      addCriterion(IWorkspaceFileTypeConfigDAO.FileTypeIcon + " <>", value, "fileTypeIcon");
      return this;
    }

    public Criteria andFileTypeIconNotEqualToOrIsNull(String value) {

      addCriterion(
          IWorkspaceFileTypeConfigDAO.FileTypeIcon
              + " is null OR "
              + IWorkspaceFileTypeConfigDAO.FileTypeIcon
              + " <>",
          value,
          "fileTypeIcon");
      return this;
    }

    public Criteria andFileTypeIconNotEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IWorkspaceFileTypeConfigDAO.FileTypeIcon);
      str.append(" <> ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andFileTypeIconNotEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceFileTypeConfigDAO.FileTypeIcon + " <> ", subQueryBean, dao);
      return this;
    }

    public Criteria andFileTypeIconGreaterThan(String value) {

      addCriterion(IWorkspaceFileTypeConfigDAO.FileTypeIcon + " >", value, "fileTypeIcon");
      return this;
    }

    public Criteria andFileTypeIconGreaterThanForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IWorkspaceFileTypeConfigDAO.FileTypeIcon);
      str.append(" > ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andFileTypeIconGreaterThan(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceFileTypeConfigDAO.FileTypeIcon + " > ", subQueryBean, dao);
      return this;
    }

    public Criteria andFileTypeIconGreaterThanOrEqualTo(String value) {

      addCriterion(IWorkspaceFileTypeConfigDAO.FileTypeIcon + " >=", value, "fileTypeIcon");
      return this;
    }

    public Criteria andFileTypeIconGreaterThanOrEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IWorkspaceFileTypeConfigDAO.FileTypeIcon);
      str.append(" >= ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andFileTypeIconGreaterThanOrEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceFileTypeConfigDAO.FileTypeIcon + " >= ", subQueryBean, dao);
      return this;
    }

    public Criteria andFileTypeIconLessThan(String value) {

      addCriterion(IWorkspaceFileTypeConfigDAO.FileTypeIcon + " <", value, "fileTypeIcon");
      return this;
    }

    public Criteria andFileTypeIconLessThanForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IWorkspaceFileTypeConfigDAO.FileTypeIcon);
      str.append(" < ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andFileTypeIconLessThan(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceFileTypeConfigDAO.FileTypeIcon + " < ", subQueryBean, dao);
      return this;
    }

    public Criteria andFileTypeIconLessThanOrEqualTo(String value) {

      addCriterion(IWorkspaceFileTypeConfigDAO.FileTypeIcon + " <=", value, "fileTypeIcon");
      return this;
    }

    public Criteria andFileTypeIconLessThanOrEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IWorkspaceFileTypeConfigDAO.FileTypeIcon);
      str.append(" <= ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andFileTypeIconLessThanOrEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceFileTypeConfigDAO.FileTypeIcon + " <= ", subQueryBean, dao);
      return this;
    }

    public Criteria andFileTypeIconLike(String value) {
      StringBuffer buffer = new StringBuffer("%");
      buffer.append(value);
      buffer.append("%");
      addCriterion(
          IWorkspaceFileTypeConfigDAO.FileTypeIcon + " like", buffer.toString(), "fileTypeIcon");
      return this;
    }

    public Criteria andFileTypeIconNotLike(String value) {
      StringBuffer buffer = new StringBuffer("%");
      buffer.append(value);
      buffer.append("%");
      addCriterion(
          IWorkspaceFileTypeConfigDAO.FileTypeIcon + " not like",
          buffer.toString(),
          "fileTypeIcon");
      return this;
    }

    public Criteria andFileTypeIconIn(List<String> values) {

      if (values.size() == 1) {
        return andFileTypeIconEqualTo(values.get(0));
      } else {
        addCriterion(IWorkspaceFileTypeConfigDAO.FileTypeIcon + " in", values, "fileTypeIcon");
        return this;
      }
    }

    public Criteria andFileTypeIconNotIn(List<String> values) {
      if (values.size() == 1) {
        return andFileTypeIconNotEqualTo(values.get(0));
      } else {
        addCriterion(IWorkspaceFileTypeConfigDAO.FileTypeIcon + " not in", values, "fileTypeIcon");
        return this;
      }
    }

    public Criteria andFileTypeIconIn(String[] values) {

      if (values.length == 1) {
        return andFileTypeIconEqualTo(values[0]);
      } else {
        addCriterion(
            IWorkspaceFileTypeConfigDAO.FileTypeIcon + " in",
            Arrays.asList(values),
            "fileTypeIcon");
        return this;
      }
    }

    public Criteria andFileTypeIconNotIn(String[] values) {
      if (values.length == 1) {
        return andFileTypeIconNotEqualTo(values[0]);
      } else {
        addCriterion(
            IWorkspaceFileTypeConfigDAO.FileTypeIcon + " not in",
            Arrays.asList(values),
            "fileTypeIcon");
        return this;
      }
    }

    public Criteria andFileTypeIconIn(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceFileTypeConfigDAO.FileTypeIcon + " in ", subQueryBean, dao);
      return this;
    }

    public Criteria andFileTypeIconNotIn(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceFileTypeConfigDAO.FileTypeIcon + " not in ", subQueryBean, dao);
      return this;
    }

    public Criteria andFileTypeIconBetween(String value1, String value2) {
      addCriterion(
          IWorkspaceFileTypeConfigDAO.FileTypeIcon + " between", value1, value2, "fileTypeIcon");
      return this;
    }

    public Criteria andFileTypeIconNotBetween(String value1, String value2) {
      addCriterion(
          IWorkspaceFileTypeConfigDAO.FileTypeIcon + " not between",
          value1,
          value2,
          "fileTypeIcon");
      return this;
    }

    public Criteria andIsCountLineIsNull() {
      addCriterion(IWorkspaceFileTypeConfigDAO.IsCountLine + " is null");
      return this;
    }

    public Criteria andIsCountLineIsNotNull() {
      addCriterion(IWorkspaceFileTypeConfigDAO.IsCountLine + " is not null");
      return this;
    }

    public Criteria andIsCountLineIsNotEmpty() {
      addCriterion(
          IWorkspaceFileTypeConfigDAO.IsCountLine
              + " is not null AND "
              + IWorkspaceFileTypeConfigDAO.IsCountLine
              + " <> ''");
      return this;
    }

    public Criteria andIsCountLineIsEmpty() {
      addCriterion(
          "("
              + IWorkspaceFileTypeConfigDAO.IsCountLine
              + " is null OR "
              + IWorkspaceFileTypeConfigDAO.IsCountLine
              + " = '')");
      return this;
    }

    public Criteria andIsCountLineEqualTo(String value) {

      addCriterion(IWorkspaceFileTypeConfigDAO.IsCountLine + " = ", value, "isCountLine");
      return this;
    }

    public Criteria andIsCountLineEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IWorkspaceFileTypeConfigDAO.IsCountLine);
      str.append(" = ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andIsCountLineEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceFileTypeConfigDAO.IsCountLine + " = ", subQueryBean, dao);
      return this;
    }

    public Criteria andIsCountLineNotEqualTo(String value) {

      addCriterion(IWorkspaceFileTypeConfigDAO.IsCountLine + " <>", value, "isCountLine");
      return this;
    }

    public Criteria andIsCountLineNotEqualToOrIsNull(String value) {

      addCriterion(
          IWorkspaceFileTypeConfigDAO.IsCountLine
              + " is null OR "
              + IWorkspaceFileTypeConfigDAO.IsCountLine
              + " <>",
          value,
          "isCountLine");
      return this;
    }

    public Criteria andIsCountLineNotEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IWorkspaceFileTypeConfigDAO.IsCountLine);
      str.append(" <> ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andIsCountLineNotEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceFileTypeConfigDAO.IsCountLine + " <> ", subQueryBean, dao);
      return this;
    }

    public Criteria andIsCountLineGreaterThan(String value) {

      addCriterion(IWorkspaceFileTypeConfigDAO.IsCountLine + " >", value, "isCountLine");
      return this;
    }

    public Criteria andIsCountLineGreaterThanForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IWorkspaceFileTypeConfigDAO.IsCountLine);
      str.append(" > ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andIsCountLineGreaterThan(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceFileTypeConfigDAO.IsCountLine + " > ", subQueryBean, dao);
      return this;
    }

    public Criteria andIsCountLineGreaterThanOrEqualTo(String value) {

      addCriterion(IWorkspaceFileTypeConfigDAO.IsCountLine + " >=", value, "isCountLine");
      return this;
    }

    public Criteria andIsCountLineGreaterThanOrEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IWorkspaceFileTypeConfigDAO.IsCountLine);
      str.append(" >= ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andIsCountLineGreaterThanOrEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceFileTypeConfigDAO.IsCountLine + " >= ", subQueryBean, dao);
      return this;
    }

    public Criteria andIsCountLineLessThan(String value) {

      addCriterion(IWorkspaceFileTypeConfigDAO.IsCountLine + " <", value, "isCountLine");
      return this;
    }

    public Criteria andIsCountLineLessThanForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IWorkspaceFileTypeConfigDAO.IsCountLine);
      str.append(" < ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andIsCountLineLessThan(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceFileTypeConfigDAO.IsCountLine + " < ", subQueryBean, dao);
      return this;
    }

    public Criteria andIsCountLineLessThanOrEqualTo(String value) {

      addCriterion(IWorkspaceFileTypeConfigDAO.IsCountLine + " <=", value, "isCountLine");
      return this;
    }

    public Criteria andIsCountLineLessThanOrEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IWorkspaceFileTypeConfigDAO.IsCountLine);
      str.append(" <= ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andIsCountLineLessThanOrEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceFileTypeConfigDAO.IsCountLine + " <= ", subQueryBean, dao);
      return this;
    }

    public Criteria andIsCountLineLike(String value) {
      StringBuffer buffer = new StringBuffer("%");
      buffer.append(value);
      buffer.append("%");
      addCriterion(
          IWorkspaceFileTypeConfigDAO.IsCountLine + " like", buffer.toString(), "isCountLine");
      return this;
    }

    public Criteria andIsCountLineNotLike(String value) {
      StringBuffer buffer = new StringBuffer("%");
      buffer.append(value);
      buffer.append("%");
      addCriterion(
          IWorkspaceFileTypeConfigDAO.IsCountLine + " not like", buffer.toString(), "isCountLine");
      return this;
    }

    public Criteria andIsCountLineIn(List<String> values) {

      if (values.size() == 1) {
        return andIsCountLineEqualTo(values.get(0));
      } else {
        addCriterion(IWorkspaceFileTypeConfigDAO.IsCountLine + " in", values, "isCountLine");
        return this;
      }
    }

    public Criteria andIsCountLineNotIn(List<String> values) {
      if (values.size() == 1) {
        return andIsCountLineNotEqualTo(values.get(0));
      } else {
        addCriterion(IWorkspaceFileTypeConfigDAO.IsCountLine + " not in", values, "isCountLine");
        return this;
      }
    }

    public Criteria andIsCountLineIn(String[] values) {

      if (values.length == 1) {
        return andIsCountLineEqualTo(values[0]);
      } else {
        addCriterion(
            IWorkspaceFileTypeConfigDAO.IsCountLine + " in", Arrays.asList(values), "isCountLine");
        return this;
      }
    }

    public Criteria andIsCountLineNotIn(String[] values) {
      if (values.length == 1) {
        return andIsCountLineNotEqualTo(values[0]);
      } else {
        addCriterion(
            IWorkspaceFileTypeConfigDAO.IsCountLine + " not in",
            Arrays.asList(values),
            "isCountLine");
        return this;
      }
    }

    public Criteria andIsCountLineIn(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceFileTypeConfigDAO.IsCountLine + " in ", subQueryBean, dao);
      return this;
    }

    public Criteria andIsCountLineNotIn(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceFileTypeConfigDAO.IsCountLine + " not in ", subQueryBean, dao);
      return this;
    }

    public Criteria andIsCountLineBetween(String value1, String value2) {
      addCriterion(
          IWorkspaceFileTypeConfigDAO.IsCountLine + " between", value1, value2, "isCountLine");
      return this;
    }

    public Criteria andIsCountLineNotBetween(String value1, String value2) {
      addCriterion(
          IWorkspaceFileTypeConfigDAO.IsCountLine + " not between", value1, value2, "isCountLine");
      return this;
    }

    public Criteria andIsCanDiffIsNull() {
      addCriterion(IWorkspaceFileTypeConfigDAO.IsCanDiff + " is null");
      return this;
    }

    public Criteria andIsCanDiffIsNotNull() {
      addCriterion(IWorkspaceFileTypeConfigDAO.IsCanDiff + " is not null");
      return this;
    }

    public Criteria andIsCanDiffIsNotEmpty() {
      addCriterion(
          IWorkspaceFileTypeConfigDAO.IsCanDiff
              + " is not null AND "
              + IWorkspaceFileTypeConfigDAO.IsCanDiff
              + " <> ''");
      return this;
    }

    public Criteria andIsCanDiffIsEmpty() {
      addCriterion(
          "("
              + IWorkspaceFileTypeConfigDAO.IsCanDiff
              + " is null OR "
              + IWorkspaceFileTypeConfigDAO.IsCanDiff
              + " = '')");
      return this;
    }

    public Criteria andIsCanDiffEqualTo(String value) {

      addCriterion(IWorkspaceFileTypeConfigDAO.IsCanDiff + " = ", value, "isCanDiff");
      return this;
    }

    public Criteria andIsCanDiffEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IWorkspaceFileTypeConfigDAO.IsCanDiff);
      str.append(" = ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andIsCanDiffEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceFileTypeConfigDAO.IsCanDiff + " = ", subQueryBean, dao);
      return this;
    }

    public Criteria andIsCanDiffNotEqualTo(String value) {

      addCriterion(IWorkspaceFileTypeConfigDAO.IsCanDiff + " <>", value, "isCanDiff");
      return this;
    }

    public Criteria andIsCanDiffNotEqualToOrIsNull(String value) {

      addCriterion(
          IWorkspaceFileTypeConfigDAO.IsCanDiff
              + " is null OR "
              + IWorkspaceFileTypeConfigDAO.IsCanDiff
              + " <>",
          value,
          "isCanDiff");
      return this;
    }

    public Criteria andIsCanDiffNotEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IWorkspaceFileTypeConfigDAO.IsCanDiff);
      str.append(" <> ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andIsCanDiffNotEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceFileTypeConfigDAO.IsCanDiff + " <> ", subQueryBean, dao);
      return this;
    }

    public Criteria andIsCanDiffGreaterThan(String value) {

      addCriterion(IWorkspaceFileTypeConfigDAO.IsCanDiff + " >", value, "isCanDiff");
      return this;
    }

    public Criteria andIsCanDiffGreaterThanForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IWorkspaceFileTypeConfigDAO.IsCanDiff);
      str.append(" > ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andIsCanDiffGreaterThan(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceFileTypeConfigDAO.IsCanDiff + " > ", subQueryBean, dao);
      return this;
    }

    public Criteria andIsCanDiffGreaterThanOrEqualTo(String value) {

      addCriterion(IWorkspaceFileTypeConfigDAO.IsCanDiff + " >=", value, "isCanDiff");
      return this;
    }

    public Criteria andIsCanDiffGreaterThanOrEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IWorkspaceFileTypeConfigDAO.IsCanDiff);
      str.append(" >= ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andIsCanDiffGreaterThanOrEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceFileTypeConfigDAO.IsCanDiff + " >= ", subQueryBean, dao);
      return this;
    }

    public Criteria andIsCanDiffLessThan(String value) {

      addCriterion(IWorkspaceFileTypeConfigDAO.IsCanDiff + " <", value, "isCanDiff");
      return this;
    }

    public Criteria andIsCanDiffLessThanForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IWorkspaceFileTypeConfigDAO.IsCanDiff);
      str.append(" < ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andIsCanDiffLessThan(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceFileTypeConfigDAO.IsCanDiff + " < ", subQueryBean, dao);
      return this;
    }

    public Criteria andIsCanDiffLessThanOrEqualTo(String value) {

      addCriterion(IWorkspaceFileTypeConfigDAO.IsCanDiff + " <=", value, "isCanDiff");
      return this;
    }

    public Criteria andIsCanDiffLessThanOrEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IWorkspaceFileTypeConfigDAO.IsCanDiff);
      str.append(" <= ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andIsCanDiffLessThanOrEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceFileTypeConfigDAO.IsCanDiff + " <= ", subQueryBean, dao);
      return this;
    }

    public Criteria andIsCanDiffLike(String value) {
      StringBuffer buffer = new StringBuffer("%");
      buffer.append(value);
      buffer.append("%");
      addCriterion(IWorkspaceFileTypeConfigDAO.IsCanDiff + " like", buffer.toString(), "isCanDiff");
      return this;
    }

    public Criteria andIsCanDiffNotLike(String value) {
      StringBuffer buffer = new StringBuffer("%");
      buffer.append(value);
      buffer.append("%");
      addCriterion(
          IWorkspaceFileTypeConfigDAO.IsCanDiff + " not like", buffer.toString(), "isCanDiff");
      return this;
    }

    public Criteria andIsCanDiffIn(List<String> values) {

      if (values.size() == 1) {
        return andIsCanDiffEqualTo(values.get(0));
      } else {
        addCriterion(IWorkspaceFileTypeConfigDAO.IsCanDiff + " in", values, "isCanDiff");
        return this;
      }
    }

    public Criteria andIsCanDiffNotIn(List<String> values) {
      if (values.size() == 1) {
        return andIsCanDiffNotEqualTo(values.get(0));
      } else {
        addCriterion(IWorkspaceFileTypeConfigDAO.IsCanDiff + " not in", values, "isCanDiff");
        return this;
      }
    }

    public Criteria andIsCanDiffIn(String[] values) {

      if (values.length == 1) {
        return andIsCanDiffEqualTo(values[0]);
      } else {
        addCriterion(
            IWorkspaceFileTypeConfigDAO.IsCanDiff + " in", Arrays.asList(values), "isCanDiff");
        return this;
      }
    }

    public Criteria andIsCanDiffNotIn(String[] values) {
      if (values.length == 1) {
        return andIsCanDiffNotEqualTo(values[0]);
      } else {
        addCriterion(
            IWorkspaceFileTypeConfigDAO.IsCanDiff + " not in", Arrays.asList(values), "isCanDiff");
        return this;
      }
    }

    public Criteria andIsCanDiffIn(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceFileTypeConfigDAO.IsCanDiff + " in ", subQueryBean, dao);
      return this;
    }

    public Criteria andIsCanDiffNotIn(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceFileTypeConfigDAO.IsCanDiff + " not in ", subQueryBean, dao);
      return this;
    }

    public Criteria andIsCanDiffBetween(String value1, String value2) {
      addCriterion(IWorkspaceFileTypeConfigDAO.IsCanDiff + " between", value1, value2, "isCanDiff");
      return this;
    }

    public Criteria andIsCanDiffNotBetween(String value1, String value2) {
      addCriterion(
          IWorkspaceFileTypeConfigDAO.IsCanDiff + " not between", value1, value2, "isCanDiff");
      return this;
    }

    public Criteria andStatusIsNull() {
      addCriterion(IWorkspaceFileTypeConfigDAO.Status + " is null");
      return this;
    }

    public Criteria andStatusIsNotNull() {
      addCriterion(IWorkspaceFileTypeConfigDAO.Status + " is not null");
      return this;
    }

    public Criteria andStatusIsNotEmpty() {
      addCriterion(
          IWorkspaceFileTypeConfigDAO.Status
              + " is not null AND "
              + IWorkspaceFileTypeConfigDAO.Status
              + " <> ''");
      return this;
    }

    public Criteria andStatusIsEmpty() {
      addCriterion(
          "("
              + IWorkspaceFileTypeConfigDAO.Status
              + " is null OR "
              + IWorkspaceFileTypeConfigDAO.Status
              + " = '')");
      return this;
    }

    public Criteria andStatusEqualTo(String value) {

      addCriterion(IWorkspaceFileTypeConfigDAO.Status + " = ", value, "status");
      return this;
    }

    public Criteria andStatusEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IWorkspaceFileTypeConfigDAO.Status);
      str.append(" = ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andStatusEqualTo(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceFileTypeConfigDAO.Status + " = ", subQueryBean, dao);
      return this;
    }

    public Criteria andStatusNotEqualTo(String value) {

      addCriterion(IWorkspaceFileTypeConfigDAO.Status + " <>", value, "status");
      return this;
    }

    public Criteria andStatusNotEqualToOrIsNull(String value) {

      addCriterion(
          IWorkspaceFileTypeConfigDAO.Status
              + " is null OR "
              + IWorkspaceFileTypeConfigDAO.Status
              + " <>",
          value,
          "status");
      return this;
    }

    public Criteria andStatusNotEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IWorkspaceFileTypeConfigDAO.Status);
      str.append(" <> ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andStatusNotEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceFileTypeConfigDAO.Status + " <> ", subQueryBean, dao);
      return this;
    }

    public Criteria andStatusGreaterThan(String value) {

      addCriterion(IWorkspaceFileTypeConfigDAO.Status + " >", value, "status");
      return this;
    }

    public Criteria andStatusGreaterThanForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IWorkspaceFileTypeConfigDAO.Status);
      str.append(" > ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andStatusGreaterThan(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceFileTypeConfigDAO.Status + " > ", subQueryBean, dao);
      return this;
    }

    public Criteria andStatusGreaterThanOrEqualTo(String value) {

      addCriterion(IWorkspaceFileTypeConfigDAO.Status + " >=", value, "status");
      return this;
    }

    public Criteria andStatusGreaterThanOrEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IWorkspaceFileTypeConfigDAO.Status);
      str.append(" >= ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andStatusGreaterThanOrEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceFileTypeConfigDAO.Status + " >= ", subQueryBean, dao);
      return this;
    }

    public Criteria andStatusLessThan(String value) {

      addCriterion(IWorkspaceFileTypeConfigDAO.Status + " <", value, "status");
      return this;
    }

    public Criteria andStatusLessThanForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IWorkspaceFileTypeConfigDAO.Status);
      str.append(" < ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andStatusLessThan(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceFileTypeConfigDAO.Status + " < ", subQueryBean, dao);
      return this;
    }

    public Criteria andStatusLessThanOrEqualTo(String value) {

      addCriterion(IWorkspaceFileTypeConfigDAO.Status + " <=", value, "status");
      return this;
    }

    public Criteria andStatusLessThanOrEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IWorkspaceFileTypeConfigDAO.Status);
      str.append(" <= ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andStatusLessThanOrEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceFileTypeConfigDAO.Status + " <= ", subQueryBean, dao);
      return this;
    }

    public Criteria andStatusLike(String value) {
      StringBuffer buffer = new StringBuffer("%");
      buffer.append(value);
      buffer.append("%");
      addCriterion(IWorkspaceFileTypeConfigDAO.Status + " like", buffer.toString(), "status");
      return this;
    }

    public Criteria andStatusNotLike(String value) {
      StringBuffer buffer = new StringBuffer("%");
      buffer.append(value);
      buffer.append("%");
      addCriterion(IWorkspaceFileTypeConfigDAO.Status + " not like", buffer.toString(), "status");
      return this;
    }

    public Criteria andStatusIn(List<String> values) {

      if (values.size() == 1) {
        return andStatusEqualTo(values.get(0));
      } else {
        addCriterion(IWorkspaceFileTypeConfigDAO.Status + " in", values, "status");
        return this;
      }
    }

    public Criteria andStatusNotIn(List<String> values) {
      if (values.size() == 1) {
        return andStatusNotEqualTo(values.get(0));
      } else {
        addCriterion(IWorkspaceFileTypeConfigDAO.Status + " not in", values, "status");
        return this;
      }
    }

    public Criteria andStatusIn(String[] values) {

      if (values.length == 1) {
        return andStatusEqualTo(values[0]);
      } else {
        addCriterion(IWorkspaceFileTypeConfigDAO.Status + " in", Arrays.asList(values), "status");
        return this;
      }
    }

    public Criteria andStatusNotIn(String[] values) {
      if (values.length == 1) {
        return andStatusNotEqualTo(values[0]);
      } else {
        addCriterion(
            IWorkspaceFileTypeConfigDAO.Status + " not in", Arrays.asList(values), "status");
        return this;
      }
    }

    public Criteria andStatusIn(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceFileTypeConfigDAO.Status + " in ", subQueryBean, dao);
      return this;
    }

    public Criteria andStatusNotIn(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceFileTypeConfigDAO.Status + " not in ", subQueryBean, dao);
      return this;
    }

    public Criteria andStatusBetween(String value1, String value2) {
      addCriterion(IWorkspaceFileTypeConfigDAO.Status + " between", value1, value2, "status");
      return this;
    }

    public Criteria andStatusNotBetween(String value1, String value2) {
      addCriterion(IWorkspaceFileTypeConfigDAO.Status + " not between", value1, value2, "status");
      return this;
    }

    public Criteria andRemarksIsNull() {
      addCriterion(IWorkspaceFileTypeConfigDAO.Remarks + " is null");
      return this;
    }

    public Criteria andRemarksIsNotNull() {
      addCriterion(IWorkspaceFileTypeConfigDAO.Remarks + " is not null");
      return this;
    }

    public Criteria andRemarksIsNotEmpty() {
      addCriterion(
          IWorkspaceFileTypeConfigDAO.Remarks
              + " is not null AND "
              + IWorkspaceFileTypeConfigDAO.Remarks
              + " <> ''");
      return this;
    }

    public Criteria andRemarksIsEmpty() {
      addCriterion(
          "("
              + IWorkspaceFileTypeConfigDAO.Remarks
              + " is null OR "
              + IWorkspaceFileTypeConfigDAO.Remarks
              + " = '')");
      return this;
    }

    public Criteria andRemarksEqualTo(String value) {

      addCriterion(IWorkspaceFileTypeConfigDAO.Remarks + " = ", value, "remarks");
      return this;
    }

    public Criteria andRemarksEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IWorkspaceFileTypeConfigDAO.Remarks);
      str.append(" = ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andRemarksEqualTo(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceFileTypeConfigDAO.Remarks + " = ", subQueryBean, dao);
      return this;
    }

    public Criteria andRemarksNotEqualTo(String value) {

      addCriterion(IWorkspaceFileTypeConfigDAO.Remarks + " <>", value, "remarks");
      return this;
    }

    public Criteria andRemarksNotEqualToOrIsNull(String value) {

      addCriterion(
          IWorkspaceFileTypeConfigDAO.Remarks
              + " is null OR "
              + IWorkspaceFileTypeConfigDAO.Remarks
              + " <>",
          value,
          "remarks");
      return this;
    }

    public Criteria andRemarksNotEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IWorkspaceFileTypeConfigDAO.Remarks);
      str.append(" <> ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andRemarksNotEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceFileTypeConfigDAO.Remarks + " <> ", subQueryBean, dao);
      return this;
    }

    public Criteria andRemarksGreaterThan(String value) {

      addCriterion(IWorkspaceFileTypeConfigDAO.Remarks + " >", value, "remarks");
      return this;
    }

    public Criteria andRemarksGreaterThanForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IWorkspaceFileTypeConfigDAO.Remarks);
      str.append(" > ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andRemarksGreaterThan(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceFileTypeConfigDAO.Remarks + " > ", subQueryBean, dao);
      return this;
    }

    public Criteria andRemarksGreaterThanOrEqualTo(String value) {

      addCriterion(IWorkspaceFileTypeConfigDAO.Remarks + " >=", value, "remarks");
      return this;
    }

    public Criteria andRemarksGreaterThanOrEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IWorkspaceFileTypeConfigDAO.Remarks);
      str.append(" >= ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andRemarksGreaterThanOrEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceFileTypeConfigDAO.Remarks + " >= ", subQueryBean, dao);
      return this;
    }

    public Criteria andRemarksLessThan(String value) {

      addCriterion(IWorkspaceFileTypeConfigDAO.Remarks + " <", value, "remarks");
      return this;
    }

    public Criteria andRemarksLessThanForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IWorkspaceFileTypeConfigDAO.Remarks);
      str.append(" < ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andRemarksLessThan(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceFileTypeConfigDAO.Remarks + " < ", subQueryBean, dao);
      return this;
    }

    public Criteria andRemarksLessThanOrEqualTo(String value) {

      addCriterion(IWorkspaceFileTypeConfigDAO.Remarks + " <=", value, "remarks");
      return this;
    }

    public Criteria andRemarksLessThanOrEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IWorkspaceFileTypeConfigDAO.Remarks);
      str.append(" <= ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andRemarksLessThanOrEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceFileTypeConfigDAO.Remarks + " <= ", subQueryBean, dao);
      return this;
    }

    public Criteria andRemarksLike(String value) {
      StringBuffer buffer = new StringBuffer("%");
      buffer.append(value);
      buffer.append("%");
      addCriterion(IWorkspaceFileTypeConfigDAO.Remarks + " like", buffer.toString(), "remarks");
      return this;
    }

    public Criteria andRemarksNotLike(String value) {
      StringBuffer buffer = new StringBuffer("%");
      buffer.append(value);
      buffer.append("%");
      addCriterion(IWorkspaceFileTypeConfigDAO.Remarks + " not like", buffer.toString(), "remarks");
      return this;
    }

    public Criteria andRemarksIn(List<String> values) {

      if (values.size() == 1) {
        return andRemarksEqualTo(values.get(0));
      } else {
        addCriterion(IWorkspaceFileTypeConfigDAO.Remarks + " in", values, "remarks");
        return this;
      }
    }

    public Criteria andRemarksNotIn(List<String> values) {
      if (values.size() == 1) {
        return andRemarksNotEqualTo(values.get(0));
      } else {
        addCriterion(IWorkspaceFileTypeConfigDAO.Remarks + " not in", values, "remarks");
        return this;
      }
    }

    public Criteria andRemarksIn(String[] values) {

      if (values.length == 1) {
        return andRemarksEqualTo(values[0]);
      } else {
        addCriterion(IWorkspaceFileTypeConfigDAO.Remarks + " in", Arrays.asList(values), "remarks");
        return this;
      }
    }

    public Criteria andRemarksNotIn(String[] values) {
      if (values.length == 1) {
        return andRemarksNotEqualTo(values[0]);
      } else {
        addCriterion(
            IWorkspaceFileTypeConfigDAO.Remarks + " not in", Arrays.asList(values), "remarks");
        return this;
      }
    }

    public Criteria andRemarksIn(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceFileTypeConfigDAO.Remarks + " in ", subQueryBean, dao);
      return this;
    }

    public Criteria andRemarksNotIn(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceFileTypeConfigDAO.Remarks + " not in ", subQueryBean, dao);
      return this;
    }

    public Criteria andRemarksBetween(String value1, String value2) {
      addCriterion(IWorkspaceFileTypeConfigDAO.Remarks + " between", value1, value2, "remarks");
      return this;
    }

    public Criteria andRemarksNotBetween(String value1, String value2) {
      addCriterion(IWorkspaceFileTypeConfigDAO.Remarks + " not between", value1, value2, "remarks");
      return this;
    }
  }
}
